package com.sydsen.imager.painter;

import com.sydsen.imager.Canvas;
import com.sydsen.imager.elements.Element;

/**
 * @Auther: syh
 * @Date: 2021/11/1
 * @Description:
 */
public interface IPainter<T extends Element<T>> {
    void draw(Canvas canvas, T element) throws Exception;
}
